[IT] API Options

Wednesday, 13 October 2021 12:19:19
Total Iterations

1

Total Assertions

10

Total Failed Tests

1

Total Skipped Tests

0


File Information
Collection: [IT] API Options
Environment: Nightlies
Collection Description
``` Feature: options It's a scenario which check if options call asked by the mobile is correctly returned Scenario: Get options in logged off mode and Not russian Scenario: Get options in logged off mode and russian ```
Timings and Data
Total run duration: 98ms
Total data received: 2.38KB
Average response time: 32ms
Summary Item Total Failed
Requests 1 0
Prerequest Scripts 2 0
Test Scripts 2 0
Assertions 10 1
Skipped Tests 0 -



Showing 1 Failure

Failed Test: Logged off user should no get availability_types

Assertion Error Message
expected undefined to deeply equal null


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api/
Response Information
Response Code: 200 - OK
Mean time per request: 32ms
Mean size per request: 2.38KB

Test Pass Percentage
90 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Accept-Language en-US
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 6a46b0aa-3d19-4109-8577-41a79ed968d4
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Content-Length 2439
Date Wed, 13 Oct 2021 12:19:19 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Response Body
{"status":200,"data":{"sso":{"facebook":{"enable":true},"google":{"enable":false},"password":{"enable":true},"sms":{"enable":false,"country_codes":["FR","US","CA","DK","NO","BE","PL"]}},"report_types":[{"id":"10404","name":"Bad behavior","description":"Bad behavior","level":1},{"id":"10403","name":"Fake profile","description":"Fake profile","level":1},{"id":"10408","name":"Commercial profile","description":"Commercial profile","level":3},{"id":"10406","name":"Inappropriate picture","description":"Inappropriate picture","level":4},{"id":"b30b1e25-1aa6-4eae-8119-54acf52887fd","name":"Video call: bad behavior","description":"Video call: bad behavior","level":4},{"id":"10405","name":"Scam","description":"Scam","level":4},{"id":"10407","name":"Underage","description":"Underage","level":5}],"achievement_types":[{"id":"799","name":"COCA_COLA","status":1,"credits":0,"max_times":1},{"id":"796","name":"END_TUTORIAL","status":1,"credits":0,"max_times":1},{"id":"533","name":"FACEBOOK_CONNECT","status":1,"credits":0,"max_times":1},{"id":"534","name":"FACEBOOK_LIKE","status":1,"credits":0,"max_times":1},{"id":"537","name":"INVITE","status":1,"credits":5,"max_times":1000},{"id":"798","name":"NESCAFE_END","status":1,"credits":0,"max_times":1},{"id":"797","name":"NESCAFE_START","status":1,"credits":0,"max_times":1},{"id":"538","name":"NEW_ACCOUNT","status":1,"credits":3,"max_times":1},{"id":"536","name":"RATE_APP","status":1,"credits":0,"max_times":1},{"id":"791","name":"SOCIAL_LIKE","status":1,"credits":0,"max_times":1},{"id":"792","name":"START_TUTORIAL","status":1,"credits":0,"max_times":1},{"id":"795","name":"TUTORIAL_CHARM_PROFILE","status":1,"credits":1,"max_times":1},{"id":"793","name":"TUTORIAL_LIKE_PROFILE","status":1,"credits":0,"max_times":2},{"id":"794","name":"TUTORIAL_STEP_2","status":1,"credits":0,"max_times":1},{"id":"535","name":"UPDATE_PICTURE","status":1,"credits":0,"max_times":5}],"last_tos_version":"b54adc00-67f9-11d9-9669-0800200c9a66","last_cookie_v1_version":"a6805620-61ec-11ea-bc55-0242ac130003","last_cookie_v2_version":"f7df26e0-1871-11eb-8080-808080808080","last_cookie_v3_version":"fe3a7328-a43f-11eb-bcbc-0242ac130002","ads_inventory":null,"shop_template":1,"shop":[],"crush_time":null,"charms_sent":{"enable":true},"timeline":null,"has_pending_likes":{"enable":false},"force_update":{},"cookie_version_enabled":false,"app_tracking_transparency_enabled":false},"success":true,"error_code":0}
Test Information
NamePassedFailedSkipped
Logged off user should no get availability_types 0 1 0
Logged off user should get report types 1 0 0
Logged off user should get achievement types 1 0 0
Logged off user should have shop_template value 1 1 0 0
Logged off user should not have ads inventory 1 0 0
Logged off user should not have have crush time configuration 1 0 0
Logged off user should not have have timeline configuration 1 0 0
Logged off user should have last tos version 1 0 0
Logged off user should have charms_sent enabled 1 0 0
Logged off user should have appropriate sso options 1 0 0
Total 9 1 0
Test Failure
Test NameAssertion Error
Logged off user should no get availability_types
expected undefined to deeply equal null